package com.tzinfo.tzt.util;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

public class MessageDailog {
	
	public static void showDialog(Context context, String msg){
		AlertDialog.Builder builder = new AlertDialog.Builder(context);
		builder.setMessage(msg)
		       .setCancelable(false)
		       .setPositiveButton("确定", new DialogInterface.OnClickListener() {
		           public void onClick(DialogInterface dialog, int id) {
		           }
		       });
		AlertDialog alert = builder.create();
		alert.show();
	}


}
